package com.service;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.IService;
import com.entity.Car;
import com.entity.view.CarView;
import com.entity.vo.CarVO;
import com.utils.PageUtils;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CarService extends IService<Car> {

    PageUtils queryPage(Map<String, Object> params);

    List<CarVO> selectListVO(Wrapper<Car> wrapper);

    CarVO selectVO(@Param("ew") Wrapper<Car> wrapper);

    List<CarView> selectListView(Wrapper<Car> wrapper);

    CarView selectView(@Param("ew") Wrapper<Car> wrapper);

    PageUtils queryPage(Map<String, Object> params,Wrapper<Car> wrapper);


    List<Map<String, Object>> selectValue(Map<String, Object> params,Wrapper<Car> wrapper);

    List<Map<String, Object>> selectTimeStatValue(Map<String, Object> params,Wrapper<Car> wrapper);

    List<Map<String, Object>> selectGroup(Map<String, Object> params,Wrapper<Car> wrapper);

}
